package com.wzh.musichome.common;

public class ConstantCode {
    // Success
    public static final String RESPONSE_SUCCESS = "2000";


    //登录模块
    public static final String FAILURE_LOGIN_USERNAME_PASSWORD_EMPTY = "10001";
    public static final String FAILURE_LOGIN_USER_NULL = "10002";
    public static final String FAILURE_LOGIN_PASSWORD_WRONG = "10003";
    public static final String FAILURE_LOGIN_TOKEN_FAILURE = "10004";
    public static final String FAILURE_LOGIN_REGISTER_FAILURE = "10005";








    // Failure -仓库首页相关
    public static final String FAILURE_CENTRE_QUERY_EMPTY = "10000";
    public static final String FAILURE_CENTRE_QUERY = "10001";
    public static final String FAILURE_TENANT_QUERY = "10002";
    public static final String FAILURE_DATASOURCE_QUERY = "10003";
    public static final String FAILURE_DATACENTRE_INSERT = "10004";
    public static final String FAILURE_DATACENTRE_DELETE = "10005";
    // Failure - 仓库表相关
    public static final String FAILURE_QUERY_EMPTY = "20000";
    public static final String FAILURE_QUERY = "20001";
    public static final String FAILURE_DISABLE = "20002";
    public static final String FAILURE_SHUTDOWN = "20003";
    public static final String FAILURE_INSERT = "20004";
    public static final String FAILURE_EXIST = "20005";
    // Verify - TABLE
    public static final String FAILURE_TASK_CRON = "30000";
    public static final String FAILURE_TASKNAME = "30001";
    public static final String FAILURE_TASK_TYPE = "30002";
    public static final String FAILURE_TASK_PARAM = "30003";

    //HTTP
    public static final String FAILURE_HTTP_ERROR = "40000";
    //Fore-End
    public static final String FAILURE_FORE_END = "50000";
    //Login
    public static final String FAILURE_LOGIN = "60000";
    //Dependence
    public static final String DEPENDENCE_SELECT = "70000";
    public static final String DEPENDENCE_INSERT = "70001";
    public static final String DEPENDENCE_UPDATE = "70002";
    public static final String DEPENDENCE_DELETE = "70003";
    //Group
    public static final String GROUP_SELECT = "80000";
    public static final String GROUP_INSERT = "80001";
    public static final String GROUP_UPDATE = "80002";
    public static final String GROUP_DELETE = "80003";
    //Role
    public static final String ROLE_CHECK = "90000";
    //User
    public static final String USER_CHECK = "100000";
    public static final String FAILURE_SYSTEMIND = "90003";
    public static final String DELETE = "delete";
    public static final String UPDATE = "update";
    public static final String INSERT = "insert";
}
